

**** REPLICATION OF FORDHAM AND WALKER'S (2005) 14 PANEL REGRESSIONS ****

set mem 500m
set more off
use "your directory\fwisq.dta", clear
tsset ccode year

*** Model 1 ****
xtpcse milgdp polity bdthpct cwdthpct srivalcap allycap gdp emppop if year > 1949 & year < 1998, corr(ar1) pairwise
predict yhat1
sum yhat1

**** Model 2 ****
xtpcse milpct polity bdthpct cwdthpct srivalcap allycap tpop emppop if year < 1998, corr(ar1) pairwise
predict yhat2
sum yhat2

**** Model 3 ****
xtpcse diehl polity bdthpct cwdthpct srivalcap allycap dsize emppop if year < 1998, corr(ar1) pairwise
predict yhat3
sum yhat3

**** Model 4 ****
xtpcse milgdp polity bdthpct cwdthpct srivalcap allycap gdp emppop if major==1 & year < 1998, corr(ar1) pairwise
predict yhat4
sum yhat4

**** Model 5 ****
xtpcse milgdpest polity bdthpct cwdthpct srivalcap allycap gdpest emppop if year < 1998, corr(ar1) pairwise
predict yhat5
sum yhat5

**** Model 6 ****
gen bdthpctsq = bdthpct*bdthpct
xtpcse milgdpest polity bdthpct bdthpctsq cwdthpct srivalcap allycap gdpest emppop if year < 1998, corr(ar1) pairwise
predict yhat6
sum yhat6

**** Model 7 ****
xtpcse milpct polity bdthpct cwdthpct srivalcap allycap tpop emppop if year < 1861, corr(ar1) pairwise
predict yhat7
sum yhat7

**** Model 8 ****
xtpcse milpct polity bdthpct cwdthpct srivalcap allycap tpop emppop if year > 1946 & year < 1998, corr(ar1) pairwise
predict yhat8
sum yhat8

**** Model 9 ****
xtpcse milpct polity bdthpct bdthpctsq cwdthpct srivalcap allycap tpop emppop if year < 1998, corr(ar1) pairwise
predict yhat9
sum yhat9

**** Model 10 ****
xtpcse diehl polity bdthpct bdthpctsq cwdthpct srivalcap allycap dsize emppop if year < 1998, corr(ar1) pairwise
predict yhat10
sum yhat10

**** Model 11 ****
gen ww1 = 1 if year > 1913 & year < 1919
recode ww1 .=0
xtpcse diehl polity bdthpct ww1 cwdthpct srivalcap allycap dsize emppop if year < 1998, corr(ar1) pairwise
predict yhat11
sum yhat11

**** Model 12 ****
xtpcse diehl polity bdthpct cwdthpct srivalcap allycap dsize emppop if year < 1914, corr(ar1) pairwise
predict yhat12
sum yhat12

**** Model 13 ****
xtpcse diehl polity bdthpct cwdthpct srivalcap allycap dsize emppop if year < 1861, corr(ar1) pairwise
predict yhat13
sum yhat13

**** Model 14 ****
xtpcse diehl polity bdthpct cwdthpct srivalcap allycap dsize emppop if year > 1945 & year < 1998, corr(ar1) pairwise
predict yhat14
sum yhat14


























